package com.jeff.tianti.cms.service;

import com.jeff.tianti.cms.entity.QuestionsAnswersNum;
import com.jeff.tianti.cms.dao.QuestionsAnswersNumDao;
import com.jeff.tianti.cms.dto.QuestionsAnswersNumQueryDTO;
import com.jeff.tianti.common.service.CommonService;
import com.jeff.tianti.common.entity.PageModel;
import org.springframework.stereotype.Service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
/**
 * @author xujianfang
 * @desc QuestionsAnswersNumService类 
 * @date 2019-07-26
 */
@Service
public class QuestionsAnswersNumService extends CommonService< QuestionsAnswersNum,String >  {

    @Autowired
    private QuestionsAnswersNumDao questionsAnswersNumDao;

    @Autowired
    public void setQuestionsAnswersNumDao(QuestionsAnswersNumDao questionsAnswersNumDao){
      super.setCommonDao(questionsAnswersNumDao);
    }

    public PageModel<QuestionsAnswersNum> queryQuestionsAnswersNumPage(QuestionsAnswersNumQueryDTO questionsAnswersNumQueryDTO){
           return this.questionsAnswersNumDao.queryQuestionsAnswersNumPage(questionsAnswersNumQueryDTO);
    }

    public List<QuestionsAnswersNum> queryQuestionsAnswersNumList(QuestionsAnswersNumQueryDTO questionsAnswersNumQueryDTO){
           return this.questionsAnswersNumDao.queryQuestionsAnswersNumList(questionsAnswersNumQueryDTO);
    }


}